removepopupmenu
Removes a pop-up menu from the Twin Activate user interface. removepopupmenu is only available in the Twin Activate GUI.
Syntax
removepopupmenu(rbname, popupname)
removepopupmenu(uiPopupMenu)
Inputs
- rbname
- The name of the ribbon menu.
- popupname
- The name of the pop-up menu.
- uiPopupMenu
- The handle of the pop-up menu.
Examples
Remove the given pop-up
menu:
pm = addribbonmenu('Test');
pp = addpopupmenu('Test','Test 1');
pp1 = addpopupmenu(pm,'Test 2');
removepopupmenu('Test', 'Test 1');
removepopupmenu(pp1);